package com.atguigu.gulimall.ware;

public class DiGui {

    public static  int Fibonacci(int n){
        if(n<1){
            return  n;
        }
        return Fibonacci(n-1) + Fibonacci(n-2);
    }

    public static void main(String[] args) {
        System.out.println(Fibonacci(2));
    }
    }

